-----------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\Kai\Desktop\Replication Files\ReplicationLogFile.log
  log type:  text
 opened on:  26 Oct 2018, 14:24:38

. use Experiment1.dta, clear

. 
. 
. gen BVoteA=0 if SubjectType==2&SubjectChoice!=1
(1,827 missing values generated)

. replace BVoteA=1 if SubjectType==2&SubjectChoice==1
(27 real changes made)

. 
. gen AVoteB=0 if SubjectType==1&SubjectChoice!=2
(1,464 missing values generated)

. replace AVoteB=1 if SubjectType==1&SubjectChoice==2
(144 real changes made)

. 
. 
. gen Public=1 if Sequence==1&PrivacyType=="P"
(2,640 missing values generated)

. replace Public=0 if Sequence==1&PrivacyType=="SI"
(480 real changes made)

. replace Public=0 if Sequence==1&PrivacyType=="S"
(480 real changes made)

. 
. 
. 
. *********************************************************************************
. ** Supporting evidence of Result 1 ** Based on the sequence of the presentation *
. *********************************************************************************
. *EC
. prtest BVoteA if SubjectType==2&ElectionType=="EC",by(Public)

Two-sample test of proportions                     0: Number of obs =      128
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0078125   .0077819                     -.0074398    .0230648
           1 |    .109375   .0390136                      .0329097    .1858403
-------------+----------------------------------------------------------------
        diff |  -.1015625   .0397822                     -.1795342   -.0235908
             |  under Ho:    .030592    -3.32   0.001
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -3.3199
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0005         Pr(|Z| > |z|) = 0.0009          Pr(Z > z) = 0.9995

. prtest AVoteB if SubjectType==1&ElectionType=="EC",by(Public)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0052083   .0051948                     -.0049732    .0153899
           1 |          0          0                             0           0
-------------+----------------------------------------------------------------
        diff |   .0052083   .0051948                     -.0049732    .0153899
             |  under Ho:   .0073529     0.71   0.479
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.7083
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.7606         Pr(|Z| > |z|) = 0.4787          Pr(Z > z) = 0.2394

. *E2
. prtest AVoteB if SubjectType==1&ElectionType=="E2",by(Public)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .1197917   .0234345                      .0738609    .1657224
           1 |       .375   .0494106                       .278157     .471843
-------------+----------------------------------------------------------------
        diff |  -.2552083   .0546862                     -.3623913   -.1480253
             |  under Ho:     .05045    -5.06   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -5.0586
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. *E1
. prtest AVoteB if SubjectType==1&ElectionType=="E1",by(Public)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0677083    .018132                      .0321702    .1032465
           1 |      .0625   .0247053                      .0140785    .1109215
-------------+----------------------------------------------------------------
        diff |   .0052083   .0306451                      -.054855    .0652716
             |  under Ho:   .0310292     0.17   0.867
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.1679
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.5667         Pr(|Z| > |z|) = 0.8667          Pr(Z > z) = 0.4333

. prtest BVoteA if SubjectType==2&ElectionType=="E1",by(Public)

Two-sample test of proportions                     0: Number of obs =      128
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0078125   .0077819                     -.0074398    .0230648
           1 |     .03125   .0217491                     -.0113774    .0738774
-------------+----------------------------------------------------------------
        diff |  -.0234375   .0230994                     -.0687114    .0218364
             |  under Ho:   .0189865    -1.23   0.217
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.2344
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.1085         Pr(|Z| > |z|) = 0.2170          Pr(Z > z) = 0.8915

. 
. 
. *********************************************************************************
. ** Supporting evidence of Result 2 ** Based on the sequence of the presentation *
. *********************************************************************************
. gen AAbstained=1 if SubjectType==1&SubjectChoice==0
(2,481 missing values generated)

. replace AAbstained=0 if SubjectType==1&SubjectChoice!=0
(1,161 real changes made)

. gen BAbstained=1 if SubjectType==2&SubjectChoice==0
(2,725 missing values generated)

. replace BAbstained=0 if SubjectType==2&SubjectChoice!=0
(925 real changes made)

. 
. *Pooled
. prtest AAbstained if SubjectType==1,by(Public)

Two-sample test of proportions                     0: Number of obs =      576
                                                   1: Number of obs =      288
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .3298611   .0195901                      .2914652     .368257
           1 |   .2048611   .0237824                      .1582485    .2514737
-------------+----------------------------------------------------------------
        diff |       .125   .0308119                      .0646098    .1853902
             |  under Ho:   .0326868     3.82   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   3.8242
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9999         Pr(|Z| > |z|) = 0.0001          Pr(Z > z) = 0.0001

. prtest BAbstained if SubjectType==2,by(Public)

Two-sample test of proportions                     0: Number of obs =      384
                                                   1: Number of obs =      192
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .4114583   .0251123                      .3622392    .4606775
           1 |   .1458333   .0254712                      .0959107    .1957559
-------------+----------------------------------------------------------------
        diff |    .265625   .0357688                      .1955194    .3357306
             |  under Ho:   .0413296     6.43   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   6.4270
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 1.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 0.0000

. *EC
. prtest AAbstained if SubjectType==1&ElectionType=="EC", by(Public)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .1979167   .0287541                      .1415596    .2542737
           1 |   .0729167   .0265361                      .0209069    .1249265
-------------+----------------------------------------------------------------
        diff |       .125   .0391276                      .0483114    .2016886
             |  under Ho:   .0453865     2.75   0.006
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   2.7541
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9971         Pr(|Z| > |z|) = 0.0059          Pr(Z > z) = 0.0029

. prtest BAbstained if SubjectType==2&ElectionType=="EC", by(Public)

Two-sample test of proportions                     0: Number of obs =      128
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .4140625   .0435365                      .3287325    .4993925
           1 |    .265625   .0552082                       .157419     .373831
-------------+----------------------------------------------------------------
        diff |   .1484375   .0703091                      .0106342    .2862408
             |  under Ho:   .0736857     2.01   0.044
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   2.0145
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9780         Pr(|Z| > |z|) = 0.0440          Pr(Z > z) = 0.0220

. *E1
. prtest AAbstained if SubjectType==1&ElectionType=="E1", by(Public)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .4427083   .0358467                        .37245    .5129666
           1 |   .2708333   .0453554                      .1819384    .3597283
-------------+----------------------------------------------------------------
        diff |    .171875   .0578109                      .0585677    .2851823
             |  under Ho:   .0608367     2.83   0.005
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   2.8252
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9976         Pr(|Z| > |z|) = 0.0047          Pr(Z > z) = 0.0024

. prtest BAbstained if SubjectType==2&ElectionType=="E1", by(Public)

Two-sample test of proportions                     0: Number of obs =      128
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .3984375   .0432728                      .3136243    .4832507
           1 |    .140625   .0434543                      .0554562    .2257938
-------------+----------------------------------------------------------------
        diff |   .2578125   .0613255                      .1376168    .3780082
             |  under Ho:   .0709606     3.63   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   3.6332
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9999         Pr(|Z| > |z|) = 0.0003          Pr(Z > z) = 0.0001

. *E2
. prtest AAbstained if SubjectType==1&ElectionType=="E2", by(Public)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .3489583   .0343986                      .2815383    .4163783
           1 |   .2708333   .0453554                      .1819384    .3597283
-------------+----------------------------------------------------------------
        diff |    .078125   .0569243                     -.0334445    .1896945
             |  under Ho:   .0584489     1.34   0.181
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   1.3366
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9093         Pr(|Z| > |z|) = 0.1813          Pr(Z > z) = 0.0907

. prtest BAbstained if SubjectType==2&ElectionType=="E2", by(Public)

Two-sample test of proportions                     0: Number of obs =      128
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .421875   .0436514                      .3363199    .5074301
           1 |     .03125   .0217491                     -.0113774    .0738774
-------------+----------------------------------------------------------------
        diff |    .390625   .0487695                      .2950385    .4862115
             |  under Ho:   .0695854     5.61   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   5.6136
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 1.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 0.0000

. ************************************
. 
. *************************************************
. *The prob. A wins based on the experimental data*
. *************************************************
. 
. egen GlobalSessionID=group(PrivacyType SessionNumberinPrivacyType Sequence) if Sequence==1
(1200 missing values generated)

. egen SetID=group(GlobalSessionID Period) if Sequence==1
(1200 missing values generated)

. gen VotedA=1 if SubjectChoice==1
(2,076 missing values generated)

. replace VotedA=0 if SubjectChoice!=1
(2,076 real changes made)

. gen VotedB=1 if SubjectChoice==2
(2,078 missing values generated)

. replace VotedB=0 if SubjectChoice!=2
(2,078 real changes made)

. by SetID, sort: egen NVotedA=total(VotedA)

. by SetID, sort: egen NVotedB=total(VotedB)

. gen AWins=NVotedA/(NVotedB+NVotedA)

. sort SetID

. by SetID: gen filter = 1 if _n == 1
(2,927 missing values generated)

. gen PAWins=AWins if filter==1
(2,927 missing values generated)

. ************************************
. 
. *********************************************************************************
. ** Supporting evidence of Result 3 ** Based on the sequence of the presentation *
. *********************************************************************************
. 
. ttest PAWins if ElectionType=="EC", by(Public)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      32     .677443    .0177483    .1003997     .641245    .7136409
       1 |      16    .7113839    .0207299    .0829196    .6671992    .7555687
---------+--------------------------------------------------------------------
combined |      48    .6887566    .0137722    .0954169    .6610505    .7164628
---------+--------------------------------------------------------------------
    diff |            -.033941    .0291041               -.0925244    .0246425
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.1662
Ho: diff = 0                                     degrees of freedom =       46

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1248         Pr(|T| > |t|) = 0.2495          Pr(T > t) = 0.8752

. ttest PAWins if ElectionType=="E1", by(Public)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      32    .5192088    .0258466    .1462106    .4664943    .5719234
       1 |      16     .530754    .0324138     .129655    .4616657    .5998423
---------+--------------------------------------------------------------------
combined |      48    .5230572    .0201532    .1396258    .4825141    .5636003
---------+--------------------------------------------------------------------
    diff |           -.0115451    .0431801               -.0984622     .075372
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.2674
Ho: diff = 0                                     degrees of freedom =       46

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3952         Pr(|T| > |t|) = 0.7904          Pr(T > t) = 0.6048

. ttest PAWins if ElectionType=="E2", by(Public)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      32    .5297247    .0244809    .1384848    .4797956    .5796538
       1 |      16    .2616567    .0239331    .0957325    .2106445     .312669
---------+--------------------------------------------------------------------
combined |      48    .4403687    .0257726    .1785581    .3885208    .4922166
---------+--------------------------------------------------------------------
    diff |             .268068    .0386242                .1903215    .3458144
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   6.9404
Ho: diff = 0                                     degrees of freedom =       46

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 0.0000

. 
. 
. *********************************************************************************
. **         Replicate the results of statistical tests of Experiment II         **
. *********************************************************************************
. clear

. use Experiment2.dta, clear

. 
. 
. *In Experiment II subjects voted for Secret Ballots or Public Voting in some periods
. *First we identify these periods
. gen Statistics=1

. replace Statistics=0 if Treatment=="Short"&Period==11
(20 real changes made)

. replace Statistics=0 if Treatment=="Short"&Period==17
(20 real changes made)

. replace Statistics=0 if Treatment=="Long"&Period==21
(40 real changes made)

. *Then we generate the treatment variable
. gen Public=1 if PrivacyType=="Public"&Statistics==1
(830 missing values generated)

. replace Public=0 if PrivacyType=="Secret"&Statistics==1
(750 real changes made)

. gen Abstained=1 if SubjectChoice=="0"&Statistics==1
(746 missing values generated)

. replace Abstained=0 if SubjectChoice!="0"&Statistics==1
(666 real changes made)

. ************************************
. 
. 
. 
. *************************************************
. **                 Footnote 16                 **
. *************************************************
. prtest Abstained if SubjectType==1&Statistics==1, by(Public)

Two-sample test of proportions                     0: Number of obs =      450
                                                   1: Number of obs =      390
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .5733333   .0233153                      .5276361    .6190306
           1 |   .6564103   .0240478                      .6092774    .7035431
-------------+----------------------------------------------------------------
        diff |  -.0830769   .0334948                     -.1487255   -.0174283
             |  under Ho:   .0337141    -2.46   0.014
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.4642
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0069         Pr(|Z| > |z|) = 0.0137          Pr(Z > z) = 0.9931

. prtest Abstained if SubjectType==2&Statistics==1, by(Public)

Two-sample test of proportions                     0: Number of obs =      300
                                                   1: Number of obs =      260
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .4266667   .0285553                      .3706992    .4826341
           1 |   .3538462   .0296544                      .2957247    .4119676
-------------+----------------------------------------------------------------
        diff |   .0728205   .0411678                     -.0078669    .1535079
             |  under Ho:   .0413818     1.76   0.078
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   1.7597
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9608         Pr(|Z| > |z|) = 0.0785          Pr(Z > z) = 0.0392

. *************************************************
. **                 Footnote 17                 **
. *************************************************
. gen AVotedB=0

. replace AVotedB=1 if SubjectType==1&SubjectChoice=="2"
(50 real changes made)

. gen BVotedA=0

. replace BVotedA=1 if SubjectType==2&SubjectChoice=="1"
(1 real change made)

. 
. ************************************
. prtest AVotedB if SubjectType==1, by(Public)

Two-sample test of proportions                     0: Number of obs =      450
                                                   1: Number of obs =      390
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0444444   .0097147                      .0254039     .063485
           1 |   .0769231   .0134932                      .0504769    .1033693
-------------+----------------------------------------------------------------
        diff |  -.0324786   .0166266                     -.0650661    .0001088
             |  under Ho:   .0163689    -1.98   0.047
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.9842
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0236         Pr(|Z| > |z|) = 0.0472          Pr(Z > z) = 0.9764

. prtest BVotedA if SubjectType==2, by(Public)

Two-sample test of proportions                     0: Number of obs =      300
                                                   1: Number of obs =      260
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |          0          0                             0           0
           1 |   .0038462   .0038388                     -.0036777      .01137
-------------+----------------------------------------------------------------
        diff |  -.0038462   .0038388                       -.01137    .0036777
             |  under Ho:   .0035774    -1.08   0.282
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.0751
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.1412         Pr(|Z| > |z|) = 0.2823          Pr(Z > z) = 0.8588

. ************************************
. 
. *********************************************************************************
. ** Supporting evidence of Result 4 ** Based on the sequence of the presentation *
. *********************************************************************************
. tabulate SubjectChoice SubjectType if Statistics==0, col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

   Subject |     Subject Type 
    Choice |         1          2 |     Total
-----------+----------------------+----------
   Abstain |         3          0 |         3 
           |      6.25       0.00 |      3.75 
-----------+----------------------+----------
         P |        16         18 |        34 
           |     33.33      56.25 |     42.50 
-----------+----------------------+----------
         S |        29         14 |        43 
           |     60.42      43.75 |     53.75 
-----------+----------------------+----------
     Total |        48         32 |        80 
           |    100.00     100.00 |    100.00 


. 
. 
. *$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
. *$$$             "Public Voting and Prosocial Behavior"                     $$
. *$$$      Note: The data of Figure 3 is provided in a separate file         $$
. *$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
. 
. 
. 
. 
. *********************************************************************************
. **             Replication of statistical tests in Appendix                    **
. *********************************************************************************
. clear

. use Experiment1.dta, clear

. 
. gen Abstain=1 if SubjectChoice==0
(2,086 missing values generated)

. replace Abstain=0 if SubjectChoice!=0
(2,086 real changes made)

. 
. 
. 
. 
. *********************************************************************************
. **             Replication of statistical tests in B1                          **
. *********************************************************************************
. 
. *************************************************
. **                 Footnote 22                 **
. *************************************************
. prtest Abstain if PrivacyType=="S"&Sequence!=3&ElectionType=="EC", by(SubjectType)

Two-sample test of proportions                     1: Number of obs =      144
                                                   2: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           1 |   .2291667   .0350247                      .1605195    .2978139
           2 |   .4583333   .0508535                      .3586622    .5580044
-------------+----------------------------------------------------------------
        diff |  -.2291667    .061748                     -.3501905   -.1081428
             |  under Ho:   .0615059    -3.73   0.000
------------------------------------------------------------------------------
        diff = prop(1) - prop(2)                                  z =  -3.7259
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0001         Pr(|Z| > |z|) = 0.0002          Pr(Z > z) = 0.9999

. 
. *************************************************
. **                 Footnote 23                 **
. *************************************************
.  prtest Abstain if PrivacyType=="S"&Sequence!=3&ElectionType=="E1", by(SubjectType)

Two-sample test of proportions                     1: Number of obs =      192
                                                   2: Number of obs =      128
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           1 |   .4739583   .0360354                      .4033302    .5445865
           2 |   .2890625   .0400688                       .210529     .367596
-------------+----------------------------------------------------------------
        diff |   .1848958   .0538893                      .0792747     .290517
             |  under Ho:   .0559017     3.31   0.001
------------------------------------------------------------------------------
        diff = prop(1) - prop(2)                                  z =   3.3075
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9995         Pr(|Z| > |z|) = 0.0009          Pr(Z > z) = 0.0005

.  prtest Abstain if PrivacyType=="S"&Sequence!=3&ElectionType=="E2", by(SubjectType)

Two-sample test of proportions                     1: Number of obs =       96
                                                   2: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           1 |   .3333333   .0481125                      .2390345    .4276321
           2 |      .3125   .0579391                      .1989415    .4260585
-------------+----------------------------------------------------------------
        diff |   .0208333    .075311                     -.1267735    .1684402
             |  under Ho:   .0755837     0.28   0.783
------------------------------------------------------------------------------
        diff = prop(1) - prop(2)                                  z =   0.2756
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.6086         Pr(|Z| > |z|) = 0.7828          Pr(Z > z) = 0.3914

.  
. *************************************************
. **                 Footnote 24                 **
. *************************************************
. gen OtherpartyVote=0

. replace OtherpartyVote=1 if SubjectType==1&SubjectChoice==2
(144 real changes made)

. replace OtherpartyVote=1 if SubjectType==2&SubjectChoice==1
(27 real changes made)

. prtest OtherpartyVote if PrivacyType=="S"&Sequence!=3&ElectionType=="EC", by(SubjectType)

Two-sample test of proportions                     1: Number of obs =      144
                                                   2: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           1 |   .0069444   .0069203                     -.0066191     .020508
           2 |   .0208333   .0145771                     -.0077373     .049404
-------------+----------------------------------------------------------------
        diff |  -.0138889   .0161364                     -.0455156    .0177379
             |  under Ho:    .014639    -0.95   0.343
------------------------------------------------------------------------------
        diff = prop(1) - prop(2)                                  z =  -0.9488
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.1714         Pr(|Z| > |z|) = 0.3427          Pr(Z > z) = 0.8286

. 
. *************************************************
. **                 Footnote 25                 **
. *************************************************
. prtest OtherpartyVote if PrivacyType=="S"&Sequence!=3&ElectionType=="E1", by(SubjectType)

Two-sample test of proportions                     1: Number of obs =      192
                                                   2: Number of obs =      128
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           1 |   .0729167   .0187639                      .0361402    .1096932
           2 |   .0078125   .0077819                     -.0074398    .0230648
-------------+----------------------------------------------------------------
        diff |   .0651042   .0203136                      .0252903     .104918
             |  under Ho:   .0241193     2.70   0.007
------------------------------------------------------------------------------
        diff = prop(1) - prop(2)                                  z =   2.6993
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9965         Pr(|Z| > |z|) = 0.0069          Pr(Z > z) = 0.0035

. prtest OtherpartyVote if PrivacyType=="S"&Sequence!=3&ElectionType=="E2", by(SubjectType)

Two-sample test of proportions                     1: Number of obs =       96
                                                   2: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           1 |   .0833333   .0282085                      .0280458    .1386209
           2 |          0          0                             0           0
-------------+----------------------------------------------------------------
        diff |   .0833333   .0282085                      .0280458    .1386209
             |  under Ho:   .0351707     2.37   0.018
------------------------------------------------------------------------------
        diff = prop(1) - prop(2)                                  z =   2.3694
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9911         Pr(|Z| > |z|) = 0.0178          Pr(Z > z) = 0.0089

. 
. *************************************************
. **                 Footnote 26                 **
. *************************************************
. gen E1E2=0

. replace E1E2=1 if ElectionType=="E2"
(640 real changes made)

. prtest OtherpartyVote if SubjectType==1&PrivacyType=="S"&Sequence!=3&Period>=17, by(E1E2)

Two-sample test of proportions                     0: Number of obs =       48
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .1041667   .0440918                      .0177484    .1905849
           1 |   .0833333   .0282085                      .0280458    .1386209
-------------+----------------------------------------------------------------
        diff |   .0208333   .0523431                     -.0817573    .1234239
             |  under Ho:   .0506605     0.41   0.681
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.4112
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.6595         Pr(|Z| > |z|) = 0.6809          Pr(Z > z) = 0.3405

. 
. 
. 
. egen GlobalSessionID=group(PrivacyType SessionNumberinPrivacyType Sequence) if Sequence!=3
(720 missing values generated)

. egen SetID=group(GlobalSessionID Period) if Sequence!=3
(720 missing values generated)

. gen VotedA=1 if SubjectChoice==1
(2,076 missing values generated)

. replace VotedA=0 if SubjectChoice!=1
(2,076 real changes made)

. gen VotedB=1 if SubjectChoice==2
(2,078 missing values generated)

. replace VotedB=0 if SubjectChoice!=2
(2,078 real changes made)

. by SetID, sort: egen NVotedA=total(VotedA)

. by SetID, sort: egen NVotedB=total(VotedB)

. gen AWins=NVotedA/(NVotedB+NVotedA)

. sort SetID

. by SetID: gen filter = 1 if _n == 1
(2,879 missing values generated)

. gen PAWins=AWins if filter==1
(2,879 missing values generated)

. 
. *************************************************
. **                 Footnote 27                 **
. *************************************************
. ttest PAWins=0.5 if ElectionType=="EC"&Sequence!=3&PrivacyType=="S"

One-sample t test
------------------------------------------------------------------------------
Variable |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
  PAWins |      24    .6889881    .0211896    .1038072    .6451542     .732822
------------------------------------------------------------------------------
    mean = mean(PAWins)                                           t =   8.9189
Ho: mean = 0.5                                   degrees of freedom =       23

   Ha: mean < 0.5               Ha: mean != 0.5               Ha: mean > 0.5
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 0.0000

. 
. *************************************************
. **                 Footnote 28                 **
. *************************************************
. ttest PAWins=0.04 if ElectionType=="E1"&Sequence!=3&PrivacyType=="S"

One-sample t test
------------------------------------------------------------------------------
Variable |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
  PAWins |      32    .4479911    .0229442    .1297918    .4011961     .494786
------------------------------------------------------------------------------
    mean = mean(PAWins)                                           t =  17.7819
Ho: mean = 0.04                                  degrees of freedom =       31

   Ha: mean < 0.04             Ha: mean != 0.04               Ha: mean > 0.04
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 0.0000

. ttest PAWins=0.20 if ElectionType=="E2"&Sequence!=3&PrivacyType=="S"

One-sample t test
------------------------------------------------------------------------------
Variable |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
  PAWins |      16    .5156994    .0199351    .0797403    .4732088      .55819
------------------------------------------------------------------------------
    mean = mean(PAWins)                                           t =  15.8364
Ho: mean = 0.20                                  degrees of freedom =       15

   Ha: mean < 0.20             Ha: mean != 0.20               Ha: mean > 0.20
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 0.0000

. 
. 
. 
. 
. 
. 
. *********************************************************************************
. **             Replication of statistical tests in B2                          **
. *********************************************************************************
. gen BVoteA=0 if SubjectType==2&SubjectChoice!=1
(1,827 missing values generated)

. replace BVoteA=1 if SubjectType==2&SubjectChoice==1
(27 real changes made)

. 
. gen AVoteB=0 if SubjectType==1&SubjectChoice!=2
(1,464 missing values generated)

. replace AVoteB=1 if SubjectType==1&SubjectChoice==2
(144 real changes made)

. 
. gen AAbstained=1 if SubjectType==1&SubjectChoice==0
(2,481 missing values generated)

. replace AAbstained=0 if SubjectType==1&SubjectChoice!=0
(1,161 real changes made)

. gen BAbstained=1 if SubjectType==2&SubjectChoice==0
(2,725 missing values generated)

. replace BAbstained=0 if SubjectType==2&SubjectChoice!=0
(925 real changes made)

. 
. gen SIvP=1 if Sequence==1&PrivacyType=="SI"
(2,640 missing values generated)

. replace SIvP=0 if Sequence==1&PrivacyType=="P"
(480 real changes made)

. 
. 
. ************************************
. prtest BVoteA if SubjectType==2&ElectionType=="EC",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .109375   .0390136                      .0329097    .1858403
           1 |          0          0                             0           0
-------------+----------------------------------------------------------------
        diff |    .109375   .0390136                      .0329097    .1858403
             |  under Ho:   .0401936     2.72   0.007
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   2.7212
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9967         Pr(|Z| > |z|) = 0.0065          Pr(Z > z) = 0.0033

. prtest AVoteB if SubjectType==1&ElectionType=="EC",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |          0          0                             0           0
           1 |   .0104167   .0103623                      -.009893    .0307263
-------------+----------------------------------------------------------------
        diff |  -.0104167   .0103623                     -.0307263     .009893
             |  under Ho:   .0103895    -1.00   0.316
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.0026
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.1580         Pr(|Z| > |z|) = 0.3160          Pr(Z > z) = 0.8420

. ************************************
. 
. *************************************************
. **                 Footnote 29                 **
. *************************************************
. prtest AVoteB if SubjectType==1&ElectionType=="E2",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |       .375   .0494106                       .278157     .471843
           1 |     .15625   .0370579                      .0836178    .2288822
-------------+----------------------------------------------------------------
        diff |     .21875   .0617632                      .0976963    .3398037
             |  under Ho:   .0637489     3.43   0.001
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   3.4314
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9997         Pr(|Z| > |z|) = 0.0006          Pr(Z > z) = 0.0003

. 
. prtest AVoteB if SubjectType==1&ElectionType=="E1",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .0625   .0247053                      .0140785    .1109215
           1 |   .0520833   .0226777                      .0076359    .0965308
-------------+----------------------------------------------------------------
        diff |   .0104167   .0335355                     -.0553117     .076145
             |  under Ho:   .0335439     0.31   0.756
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.3105
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.6219         Pr(|Z| > |z|) = 0.7562          Pr(Z > z) = 0.3781

. prtest BVoteA if SubjectType==2&ElectionType=="E1",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .03125   .0217491                     -.0113774    .0738774
           1 |          0          0                             0           0
-------------+----------------------------------------------------------------
        diff |     .03125   .0217491                     -.0113774    .0738774
             |  under Ho:   .0219238     1.43   0.154
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   1.4254
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9230         Pr(|Z| > |z|) = 0.1540          Pr(Z > z) = 0.0770

. 
. 
. prtest AAbstained if SubjectType==1,by(SIvP)

Two-sample test of proportions                     0: Number of obs =      288
                                                   1: Number of obs =      288
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .2048611   .0237824                      .1582485    .2514737
           1 |   .3368056   .0278493                       .282222    .3913891
-------------+----------------------------------------------------------------
        diff |  -.1319444   .0366222                     -.2037226   -.0601663
             |  under Ho:   .0370325    -3.56   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -3.5629
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0002         Pr(|Z| > |z|) = 0.0004          Pr(Z > z) = 0.9998

. prtest BAbstained if SubjectType==2,by(SIvP)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =      192
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .1458333   .0254712                      .0959107    .1957559
           1 |   .4791667   .0360531                       .408504    .5498294
-------------+----------------------------------------------------------------
        diff |  -.3333333    .044143                      -.419852   -.2468147
             |  under Ho:    .047307    -7.05   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -7.0462
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. 
. *************************************************
. **                 Footnote 30                 **
. *************************************************
. prtest AAbstained if SubjectType==1&ElectionType=="EC",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0729167   .0265361                      .0209069    .1249265
           1 |     .21875   .0421923                      .1360546    .3014454
-------------+----------------------------------------------------------------
        diff |  -.1458333   .0498433                     -.2435245   -.0481422
             |  under Ho:   .0509424    -2.86   0.004
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.8627
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0021         Pr(|Z| > |z|) = 0.0042          Pr(Z > z) = 0.9979

. prtest BAbstained if SubjectType==2&ElectionType=="EC",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .265625   .0552082                       .157419     .373831
           1 |    .421875   .0617323                      .3008818    .5428682
-------------+----------------------------------------------------------------
        diff |    -.15625    .082818                     -.3185704    .0060704
             |  under Ho:   .0839617    -1.86   0.063
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.8610
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0314         Pr(|Z| > |z|) = 0.0627          Pr(Z > z) = 0.9686

. 
. *************************************************
. **                 Footnote 31                 **
. *************************************************
. prtest AAbstained if SubjectType==1&ElectionType=="E1",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .2708333   .0453554                      .1819384    .3597283
           1 |   .4270833   .0504855                      .3281336     .526033
-------------+----------------------------------------------------------------
        diff |    -.15625   .0678667                     -.2892664   -.0232336
             |  under Ho:   .0687972    -2.27   0.023
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.2712
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0116         Pr(|Z| > |z|) = 0.0231          Pr(Z > z) = 0.9884

. prtest BAbstained if SubjectType==2&ElectionType=="E1",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .140625   .0434543                      .0554562    .2257938
           1 |    .484375   .0624695                      .3619371    .6068129
-------------+----------------------------------------------------------------
        diff |    -.34375   .0760967                     -.4928968   -.1946032
             |  under Ho:   .0819382    -4.20   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -4.1952
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. prtest AAbstained if SubjectType==1&ElectionType=="E2",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .2708333   .0453554                      .1819384    .3597283
           1 |   .3645833   .0491238                      .2683024    .4608642
-------------+----------------------------------------------------------------
        diff |    -.09375     .06686                     -.2247932    .0372932
             |  under Ho:   .0672015    -1.40   0.163
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.3951
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0815         Pr(|Z| > |z|) = 0.1630          Pr(Z > z) = 0.9185

. prtest BAbstained if SubjectType==2&ElectionType=="E2",by(SIvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .03125   .0217491                     -.0113774    .0738774
           1 |     .53125   .0623778                      .4089917    .6535083
-------------+----------------------------------------------------------------
        diff |        -.5   .0660607                     -.6294766   -.3705234
             |  under Ho:   .0794804    -6.29   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -6.2909
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. 
. *********************************************************************************
. **             Replication of statistical tests in B3                          **
. *********************************************************************************
. 
. gen SIvS=1 if Sequence==1&PrivacyType=="SI"
(2,640 missing values generated)

. replace SIvS=0 if Sequence==1&PrivacyType=="S"
(480 real changes made)

. 
. *************************************************
. **                 Footnote 32                 **
. *************************************************
. prtest BAbstained if SubjectType==2&ElectionType=="E1",by(SIvS)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .3125   .0579391                      .1989415    .4260585
           1 |    .484375   .0624695                      .3619371    .6068129
-------------+----------------------------------------------------------------
        diff |   -.171875   .0852019                     -.3388677   -.0048823
             |  under Ho:   .0865457    -1.99   0.047
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.9859
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0235         Pr(|Z| > |z|) = 0.0470          Pr(Z > z) = 0.9765

. prtest BAbstained if SubjectType==2&ElectionType=="E2",by(SIvS)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .3125   .0579391                      .1989415    .4260585
           1 |     .53125   .0623778                      .4089917    .6535083
-------------+----------------------------------------------------------------
        diff |    -.21875   .0851347                      -.385611    -.051889
             |  under Ho:   .0873027    -2.51   0.012
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.5056
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0061         Pr(|Z| > |z|) = 0.0122          Pr(Z > z) = 0.9939

. 
. *************************************************
. **                 Footnote 33                 **
. *************************************************
. prtest AVoteB if SubjectType==1&ElectionType=="E2",by(SIvS)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0833333   .0282085                      .0280458    .1386209
           1 |     .15625   .0370579                      .0836178    .2288822
-------------+----------------------------------------------------------------
        diff |  -.0729167   .0465726                     -.1641973     .018364
             |  under Ho:    .046869    -1.56   0.120
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.5558
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0599         Pr(|Z| > |z|) = 0.1198          Pr(Z > z) = 0.9401

. prtest AVoteB if SubjectType==1&ElectionType=="E1",by(SIvS)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0833333   .0282085                      .0280458    .1386209
           1 |   .0520833   .0226777                      .0076359    .0965308
-------------+----------------------------------------------------------------
        diff |     .03125   .0361939                     -.0396887    .1021887
             |  under Ho:   .0362641     0.86   0.389
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.8617
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.8056         Pr(|Z| > |z|) = 0.3888          Pr(Z > z) = 0.1944

. 
. *************************************************
. **                 Footnote 34                 **
. *************************************************
. ttest PAWins if ElectionType=="EC", by(SIvS)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      16    .6822917    .0278973    .1115893    .6228299    .7417534
       1 |      16    .6725943     .022817    .0912682    .6239609    .7212276
---------+--------------------------------------------------------------------
combined |      32     .677443    .0177483    .1003997     .641245    .7136409
---------+--------------------------------------------------------------------
    diff |            .0096974    .0360399                -.063906    .0833008
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.2691
Ho: diff = 0                                     degrees of freedom =       30

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6051         Pr(|T| > |t|) = 0.7897          Pr(T > t) = 0.3949

. ttest PAWins if ElectionType=="E1", by(SIvS)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      16    .4504464    .0361868    .1447473     .373316    .5275769
       1 |      16    .5879712    .0286591    .1146362    .5268859    .6490566
---------+--------------------------------------------------------------------
combined |      32    .5192088    .0258466    .1462106    .4664943    .5719234
---------+--------------------------------------------------------------------
    diff |           -.1375248    .0461609               -.2317979   -.0432517
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.9792
Ho: diff = 0                                     degrees of freedom =       30

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0028         Pr(|T| > |t|) = 0.0057          Pr(T > t) = 0.9972

. ttest PAWins if ElectionType=="E2", by(SIvS)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      16    .5156994    .0199351    .0797403    .4732088      .55819
       1 |      16      .54375    .0453159    .1812636    .4471615    .6403385
---------+--------------------------------------------------------------------
combined |      32    .5297247    .0244809    .1384848    .4797956    .5796538
---------+--------------------------------------------------------------------
    diff |           -.0280506    .0495069               -.1291572    .0730561
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.5666
Ho: diff = 0                                     degrees of freedom =       30

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2876         Pr(|T| > |t|) = 0.5752          Pr(T > t) = 0.7124

. 
. 
. 
. *********************************************************************************
. **             Replication of statistical tests in B4                          **
. *********************************************************************************
. 
. gen SvP=1 if Sequence==1&PrivacyType=="S"
(2,640 missing values generated)

. replace SvP=0 if Sequence==1&PrivacyType=="P"
(480 real changes made)

. 
. 
. prtest BVoteA if SubjectType==2&ElectionType=="EC",by(SvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .109375   .0390136                      .0329097    .1858403
           1 |    .015625   .0155024                     -.0147592    .0460092
-------------+----------------------------------------------------------------
        diff |     .09375   .0419808                      .0114691    .1760309
             |  under Ho:   .0427908     2.19   0.028
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   2.1909
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9858         Pr(|Z| > |z|) = 0.0285          Pr(Z > z) = 0.0142

. *prtest AVoteB if SubjectType==1&ElectionType=="EC",by(SvP)
. 
. *************************************************
. **                 Footnote 35                 **
. *************************************************
. prtest AVoteB if SubjectType==1&ElectionType=="E2",by(SvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |       .375   .0494106                       .278157     .471843
           1 |   .0833333   .0282085                      .0280458    .1386209
-------------+----------------------------------------------------------------
        diff |   .2916667   .0568957                      .1801531    .4031802
             |  under Ho:   .0606646     4.81   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   4.8079
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 1.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 0.0000

. 
. prtest AVoteB if SubjectType==1&ElectionType=="E1",by(SvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .0625   .0247053                      .0140785    .1109215
           1 |   .0833333   .0282085                      .0280458    .1386209
-------------+----------------------------------------------------------------
        diff |  -.0208333   .0374976                     -.0943273    .0526606
             |  under Ho:   .0375277    -0.56   0.579
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -0.5551
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.2894         Pr(|Z| > |z|) = 0.5788          Pr(Z > z) = 0.7106

. prtest BVoteA if SubjectType==2&ElectionType=="E1",by(SvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .03125   .0217491                     -.0113774    .0738774
           1 |    .015625   .0155024                     -.0147592    .0460092
-------------+----------------------------------------------------------------
        diff |    .015625   .0267086                     -.0367229    .0679729
             |  under Ho:   .0267443     0.58   0.559
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.5842
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.7205         Pr(|Z| > |z|) = 0.5591          Pr(Z > z) = 0.2795

. 
. 
. prtest AAbstained if SubjectType==1,by(SvP)

Two-sample test of proportions                     0: Number of obs =      288
                                                   1: Number of obs =      288
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .2048611   .0237824                      .1582485    .2514737
           1 |   .3229167   .0275531                      .2689136    .3769197
-------------+----------------------------------------------------------------
        diff |  -.1180556   .0363974                     -.1893932   -.0467179
             |  under Ho:   .0367283    -3.21   0.001
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -3.2143
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0007         Pr(|Z| > |z|) = 0.0013          Pr(Z > z) = 0.9993

. prtest BAbstained if SubjectType==2,by(SvP)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =      192
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .1458333   .0254712                      .0959107    .1957559
           1 |     .34375   .0342772                      .2765679    .4109321
-------------+----------------------------------------------------------------
        diff |  -.1979167   .0427049                     -.2816167   -.1142166
             |  under Ho:    .043883    -4.51   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -4.5101
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. 
. *************************************************
. **                 Footnote 36                 **
. *************************************************
. prtest AAbstained if SubjectType==1&ElectionType=="EC",by(SvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0729167   .0265361                      .0209069    .1249265
           1 |   .1770833   .0389611                       .100721    .2534457
-------------+----------------------------------------------------------------
        diff |  -.1041667   .0471395                     -.1965584    -.011775
             |  under Ho:   .0477352    -2.18   0.029
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.1822
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0145         Pr(|Z| > |z|) = 0.0291          Pr(Z > z) = 0.9855

. prtest BAbstained if SubjectType==2&ElectionType=="EC",by(SvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .265625   .0552082                       .157419     .373831
           1 |     .40625   .0613915                      .2859248    .5265752
-------------+----------------------------------------------------------------
        diff |   -.140625   .0825643                     -.3024481    .0211981
             |  under Ho:   .0834947    -1.68   0.092
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.6842
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0461         Pr(|Z| > |z|) = 0.0921          Pr(Z > z) = 0.9539

. 
. *************************************************
. **                 Footnote 37                 **
. *************************************************
. prtest AAbstained if SubjectType==1&ElectionType=="E1",by(SvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .2708333   .0453554                      .1819384    .3597283
           1 |   .4583333   .0508535                      .3586622    .5580044
-------------+----------------------------------------------------------------
        diff |     -.1875    .068141                     -.3210539   -.0539461
             |  under Ho:   .0694716    -2.70   0.007
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.6989
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0035         Pr(|Z| > |z|) = 0.0070          Pr(Z > z) = 0.9965

. prtest BAbstained if SubjectType==2&ElectionType=="E1",by(SvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .140625   .0434543                      .0554562    .2257938
           1 |      .3125   .0579391                      .1989415    .4260585
-------------+----------------------------------------------------------------
        diff |   -.171875   .0724238                     -.3138231   -.0299269
             |  under Ho:       .074    -2.32   0.020
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.3226
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0101         Pr(|Z| > |z|) = 0.0202          Pr(Z > z) = 0.9899

. prtest AAbstained if SubjectType==1&ElectionType=="E2",by(SvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .2708333   .0453554                      .1819384    .3597283
           1 |   .3333333   .0481125                      .2390345    .4276321
-------------+----------------------------------------------------------------
        diff |     -.0625   .0661205                     -.1920939    .0670939
             |  under Ho:   .0662742    -0.94   0.346
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -0.9431
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.1728         Pr(|Z| > |z|) = 0.3457          Pr(Z > z) = 0.8272

. prtest BAbstained if SubjectType==2&ElectionType=="E2",by(SvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .03125   .0217491                     -.0113774    .0738774
           1 |      .3125   .0579391                      .1989415    .4260585
-------------+----------------------------------------------------------------
        diff |    -.28125   .0618866                     -.4025456   -.1599544
             |  under Ho:   .0666929    -4.22   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -4.2171
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. 
. *********************************************************************************
. **             Replication of statistical tests in B6                          **
. *********************************************************************************
. 
. gen AWinslaged=AWins[_n-10]
(10 missing values generated)

. probit AAbstained AWinslaged if Sequence==1&PrivacyType=="SI"

Iteration 0:   log likelihood = -184.00143  
Iteration 1:   log likelihood = -178.68681  
Iteration 2:   log likelihood = -178.66244  
Iteration 3:   log likelihood = -178.66244  

Probit regression                               Number of obs     =        288
                                                LR chi2(1)        =      10.68
                                                Prob > chi2       =     0.0011
Log likelihood = -178.66244                     Pseudo R2         =     0.0290

------------------------------------------------------------------------------
  AAbstained |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |   1.847393   .5807297     3.18   0.001     .7091838    2.985602
       _cons |  -1.542498    .363957    -4.24   0.000     -2.25584   -.8291553
------------------------------------------------------------------------------

. mfx

Marginal effects after probit
      y  = Pr(AAbstained) (predict)
         =   .3306923
------------------------------------------------------------------------------
variable |      dy/dx    Std. Err.     z    P>|z|  [    95% C.I.   ]      X
---------+--------------------------------------------------------------------
AWinsl~d |   .6695924      .20924    3.20   0.001   .259498  1.07969   .597867
------------------------------------------------------------------------------

. probit AAbstained AWinslaged if Sequence==1&PrivacyType=="P"

Iteration 0:   log likelihood = -144.64378  
Iteration 1:   log likelihood =  -141.8292  
Iteration 2:   log likelihood = -141.82307  
Iteration 3:   log likelihood = -141.82307  

Probit regression                               Number of obs     =        282
                                                LR chi2(1)        =       5.64
                                                Prob > chi2       =     0.0175
Log likelihood = -141.82307                     Pseudo R2         =     0.0195

------------------------------------------------------------------------------
  AAbstained |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |   -.925987   .3909012    -2.37   0.018    -1.692139   -.1598346
       _cons |  -.3635444   .2027873    -1.79   0.073    -.7610002    .0339115
------------------------------------------------------------------------------

. mfx

Marginal effects after probit
      y  = Pr(AAbstained) (predict)
         =  .20422071
------------------------------------------------------------------------------
variable |      dy/dx    Std. Err.     z    P>|z|  [    95% C.I.   ]      X
---------+--------------------------------------------------------------------
AWinsl~d |  -.2625011       .1099   -2.39   0.017  -.477903 -.047099    .50011
------------------------------------------------------------------------------

. probit BAbstained AWinslaged if Sequence==1&PrivacyType=="SI"

Iteration 0:   log likelihood = -132.91754  
Iteration 1:   log likelihood = -132.12062  
Iteration 2:   log likelihood = -132.12061  

Probit regression                               Number of obs     =        192
                                                LR chi2(1)        =       1.59
                                                Prob > chi2       =     0.2068
Log likelihood = -132.12061                     Pseudo R2         =     0.0060

------------------------------------------------------------------------------
  BAbstained |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |   .8007753   .6354058     1.26   0.208    -.4445971    2.046148
       _cons |  -.5313053   .3909212    -1.36   0.174    -1.297497    .2348863
------------------------------------------------------------------------------

. mfx

Marginal effects after probit
      y  = Pr(BAbstained) (predict)
         =  .47904599
------------------------------------------------------------------------------
variable |      dy/dx    Std. Err.     z    P>|z|  [    95% C.I.   ]      X
---------+--------------------------------------------------------------------
AWinsl~d |   .3190224      .25314    1.26   0.208  -.177121  .815166   .597867
------------------------------------------------------------------------------

. probit BAbstained AWinslaged if Sequence==1&PrivacyType=="P"

Iteration 0:   log likelihood = -73.697911  
Iteration 1:   log likelihood = -72.203619  
Iteration 2:   log likelihood = -72.196641  
Iteration 3:   log likelihood = -72.196641  

Probit regression                               Number of obs     =        188
                                                LR chi2(1)        =       3.00
                                                Prob > chi2       =     0.0831
Log likelihood = -72.196641                     Pseudo R2         =     0.0204

------------------------------------------------------------------------------
  BAbstained |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |   .9266361   .5433441     1.71   0.088    -.1382987    1.991571
       _cons |  -1.598699   .3148528    -5.08   0.000    -2.215799    -.981599
------------------------------------------------------------------------------

. mfx

Marginal effects after probit
      y  = Pr(BAbstained) (predict)
         =  .12812915
------------------------------------------------------------------------------
variable |      dy/dx    Std. Err.     z    P>|z|  [    95% C.I.   ]      X
---------+--------------------------------------------------------------------
AWinsl~d |   .1940649      .11219    1.73   0.084  -.025823  .413953    .50011
------------------------------------------------------------------------------

. probit AVoteB AWinslaged if Sequence==1&PrivacyType=="SI"&ElectionType!="EC"

Iteration 0:   log likelihood = -64.155416  
Iteration 1:   log likelihood = -54.667796  
Iteration 2:   log likelihood = -54.431923  
Iteration 3:   log likelihood = -54.431102  
Iteration 4:   log likelihood = -54.431102  

Probit regression                               Number of obs     =        192
                                                LR chi2(1)        =      19.45
                                                Prob > chi2       =     0.0000
Log likelihood = -54.431102                     Pseudo R2         =     0.1516

------------------------------------------------------------------------------
      AVoteB |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |  -3.438273   .8223269    -4.18   0.000    -5.050004   -1.826542
       _cons |   .5347528    .427555     1.25   0.211    -.3032396    1.372745
------------------------------------------------------------------------------

. mfx

Marginal effects after probit
      y  = Pr(AVoteB) (predict)
         =  .07602617
------------------------------------------------------------------------------
variable |      dy/dx    Std. Err.     z    P>|z|  [    95% C.I.   ]      X
---------+--------------------------------------------------------------------
AWinsl~d |  -.4917725      .11834   -4.16   0.000  -.723711 -.259834   .572111
------------------------------------------------------------------------------

. probit BVoteA AWinslag if Sequence==1& PrivacyType=="P"&ElectionType=="EC"

Iteration 0:   log likelihood = -21.613831  
Iteration 1:   log likelihood = -20.979121  
Iteration 2:   log likelihood = -20.970046  
Iteration 3:   log likelihood = -20.970045  

Probit regression                               Number of obs     =         60
                                                LR chi2(1)        =       1.29
                                                Prob > chi2       =     0.2565
Log likelihood = -20.970045                     Pseudo R2         =     0.0298

------------------------------------------------------------------------------
      BVoteA |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |  -1.096797    .944774    -1.16   0.246     -2.94852    .7549255
       _cons |  -.4891104   .6313127    -0.77   0.438    -1.726461    .7482398
------------------------------------------------------------------------------

. mfx

Marginal effects after probit
      y  = Pr(BVoteA) (predict)
         =  .11115744
------------------------------------------------------------------------------
variable |      dy/dx    Std. Err.     z    P>|z|  [    95% C.I.   ]      X
---------+--------------------------------------------------------------------
AWinsl~d |  -.2077901      .17831   -1.17   0.244   -.55728    .1417   .666746
------------------------------------------------------------------------------

. 
. probit AAbstained AWinslag if Sequence==1& PrivacyType=="S"

Iteration 0:   log likelihood = -181.16595  
Iteration 1:   log likelihood =  -179.2618  
Iteration 2:   log likelihood = -179.26036  
Iteration 3:   log likelihood = -179.26036  

Probit regression                               Number of obs     =        288
                                                LR chi2(1)        =       3.81
                                                Prob > chi2       =     0.0509
Log likelihood = -179.26036                     Pseudo R2         =     0.0105

------------------------------------------------------------------------------
  AAbstained |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |  -.9916246   .5122548    -1.94   0.053    -1.995626    .0123763
       _cons |   .0713772   .2835003     0.25   0.801    -.4842732    .6270277
------------------------------------------------------------------------------

. est store S

. probit AAbstained AWinslag if Sequence==1& PrivacyType=="P"

Iteration 0:   log likelihood = -144.64378  
Iteration 1:   log likelihood =  -141.8292  
Iteration 2:   log likelihood = -141.82307  
Iteration 3:   log likelihood = -141.82307  

Probit regression                               Number of obs     =        282
                                                LR chi2(1)        =       5.64
                                                Prob > chi2       =     0.0175
Log likelihood = -141.82307                     Pseudo R2         =     0.0195

------------------------------------------------------------------------------
  AAbstained |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |   -.925987   .3909012    -2.37   0.018    -1.692139   -.1598346
       _cons |  -.3635444   .2027873    -1.79   0.073    -.7610002    .0339115
------------------------------------------------------------------------------

. est store P

. suest S P

Simultaneous results for S, P

                                                Number of obs     =        570

------------------------------------------------------------------------------
             |               Robust
             |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
S_AAbstained |
  AWinslaged |  -.9916246   .4822881    -2.06   0.040    -1.936892   -.0463574
       _cons |   .0713772   .2696181     0.26   0.791    -.4570644    .5998189
-------------+----------------------------------------------------------------
P_AAbstained |
  AWinslaged |   -.925987   .3594917    -2.58   0.010    -1.630578   -.2213961
       _cons |  -.3635444   .1936055    -1.88   0.060    -.7430042    .0159155
------------------------------------------------------------------------------

. test [S_AAbstained]AWinslage=[P_AAbstained]AWinslage

 ( 1)  [S_AAbstained]AWinslaged - [P_AAbstained]AWinslaged = 0

           chi2(  1) =    0.01
         Prob > chi2 =    0.9131

. 
. probit BAbstained AWinslag if Sequence==1& PrivacyType=="SI"

Iteration 0:   log likelihood = -132.91754  
Iteration 1:   log likelihood = -132.12062  
Iteration 2:   log likelihood = -132.12061  

Probit regression                               Number of obs     =        192
                                                LR chi2(1)        =       1.59
                                                Prob > chi2       =     0.2068
Log likelihood = -132.12061                     Pseudo R2         =     0.0060

------------------------------------------------------------------------------
  BAbstained |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |   .8007753   .6354058     1.26   0.208    -.4445971    2.046148
       _cons |  -.5313053   .3909212    -1.36   0.174    -1.297497    .2348863
------------------------------------------------------------------------------

. est store S

. probit BAbstained AWinslag if Sequence==1& PrivacyType=="P"

Iteration 0:   log likelihood = -73.697911  
Iteration 1:   log likelihood = -72.203619  
Iteration 2:   log likelihood = -72.196641  
Iteration 3:   log likelihood = -72.196641  

Probit regression                               Number of obs     =        188
                                                LR chi2(1)        =       3.00
                                                Prob > chi2       =     0.0831
Log likelihood = -72.196641                     Pseudo R2         =     0.0204

------------------------------------------------------------------------------
  BAbstained |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |   .9266361   .5433441     1.71   0.088    -.1382987    1.991571
       _cons |  -1.598699   .3148528    -5.08   0.000    -2.215799    -.981599
------------------------------------------------------------------------------

. est store P

. suest S P

Simultaneous results for S, P

                                                Number of obs     =        380

------------------------------------------------------------------------------
             |               Robust
             |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
S_BAbstained |
  AWinslaged |   .8007753   .6507931     1.23   0.219    -.4747557    2.076306
       _cons |  -.5313053   .4013188    -1.32   0.186    -1.317876    .2552651
-------------+----------------------------------------------------------------
P_BAbstained |
  AWinslaged |   .9266361   .6027432     1.54   0.124    -.2547189    2.107991
       _cons |  -1.598699   .3471171    -4.61   0.000    -2.279036   -.9183622
------------------------------------------------------------------------------

. test [S_BAbstained]AWinslage=[P_BAbstained]AWinslage

 ( 1)  [S_BAbstained]AWinslaged - [P_BAbstained]AWinslaged = 0

           chi2(  1) =    0.02
         Prob > chi2 =    0.8872

. 
. probit AVoteB AWinslag if Sequence==1& PrivacyType=="SI"&ElectionType!="EC"

Iteration 0:   log likelihood = -64.155416  
Iteration 1:   log likelihood = -54.667796  
Iteration 2:   log likelihood = -54.431923  
Iteration 3:   log likelihood = -54.431102  
Iteration 4:   log likelihood = -54.431102  

Probit regression                               Number of obs     =        192
                                                LR chi2(1)        =      19.45
                                                Prob > chi2       =     0.0000
Log likelihood = -54.431102                     Pseudo R2         =     0.1516

------------------------------------------------------------------------------
      AVoteB |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |  -3.438273   .8223269    -4.18   0.000    -5.050004   -1.826542
       _cons |   .5347528    .427555     1.25   0.211    -.3032396    1.372745
------------------------------------------------------------------------------

. est store S

. probit AVoteB AWinslag if Sequence==1& PrivacyType=="P"&ElectionType!="EC"

Iteration 0:   log likelihood = -100.86169  
Iteration 1:   log likelihood = -90.451793  
Iteration 2:   log likelihood = -90.340866  
Iteration 3:   log likelihood =  -90.34086  

Probit regression                               Number of obs     =        192
                                                LR chi2(1)        =      21.04
                                                Prob > chi2       =     0.0000
Log likelihood =  -90.34086                     Pseudo R2         =     0.1043

------------------------------------------------------------------------------
      AVoteB |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  AWinslaged |   -2.65408   .6052606    -4.39   0.000    -3.840369   -1.467791
       _cons |   .2531748   .2476338     1.02   0.307    -.2321786    .7385281
------------------------------------------------------------------------------

. est store P

. suest S P

Simultaneous results for S, P

                                                Number of obs     =        384

------------------------------------------------------------------------------
             |               Robust
             |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
S_AVoteB     |
  AWinslaged |  -3.438273   .8769275    -3.92   0.000    -5.157019   -1.719527
       _cons |   .5347528   .4456849     1.20   0.230    -.3387736    1.408279
-------------+----------------------------------------------------------------
P_AVoteB     |
  AWinslaged |   -2.65408    .731995    -3.63   0.000    -4.088763   -1.219396
       _cons |   .2531748   .2820395     0.90   0.369    -.2996126    .8059621
------------------------------------------------------------------------------

. test [S_AVoteB]AWinslage=[P_AVoteB]AWinslage

 ( 1)  [S_AVoteB]AWinslaged - [P_AVoteB]AWinslaged = 0

           chi2(  1) =    0.47
         Prob > chi2 =    0.4924

. 
. 
. 
. *********************************************************************************
. **             Replication of statistical tests in B7                          **
. *********************************************************************************
. 
. gen NewPublic=1 if Sequence!=3&PrivacyType=="P"
(2,400 missing values generated)

. replace NewPublic=0 if Sequence==1&PrivacyType=="SI"
(480 real changes made)

. replace NewPublic=0 if Sequence==1&PrivacyType=="S"
(480 real changes made)

. replace NewPublic=0 if Sequence==2&PrivacyType=="S"
(240 real changes made)

. 
. *************************************************
. **                 Footnote 39                 **
. *************************************************
. prtest AAbstained if SubjectType==1,by(NewPublic)

Two-sample test of proportions                     0: Number of obs =      720
                                                   1: Number of obs =      432
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .3513889   .0177918                      .3165176    .3862602
           1 |   .2615741   .0211451                      .2201305    .3030176
-------------+----------------------------------------------------------------
        diff |   .0898148   .0276344                      .0356523    .1439773
             |  under Ho:   .0283346     3.17   0.002
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   3.1698
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9992         Pr(|Z| > |z|) = 0.0015          Pr(Z > z) = 0.0008

. prtest BAbstained if SubjectType==2,by(NewPublic)

Two-sample test of proportions                     0: Number of obs =      480
                                                   1: Number of obs =      288
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .4020833   .0223799                      .3582196    .4459471
           1 |   .1840278   .0228341                      .1392738    .2287817
-------------+----------------------------------------------------------------
        diff |   .2180556   .0319727                      .1553902    .2807209
             |  under Ho:   .0347781     6.27   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   6.2699
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 1.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 0.0000

. 
. prtest BAbstained if SubjectType==2&ElectionType=="EC",by(NewPublic)

Two-sample test of proportions                     0: Number of obs =      160
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .44375   .0392775                      .3667674    .5207326
           1 |     .21875   .0421923                      .1360546    .3014454
-------------+----------------------------------------------------------------
        diff |       .225   .0576447                      .1120184    .3379816
             |  under Ho:   .0619441     3.63   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   3.6323
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9999         Pr(|Z| > |z|) = 0.0003          Pr(Z > z) = 0.0001

. prtest BAbstained if SubjectType==2&ElectionType=="E1",by(NewPublic)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =      128
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .3541667   .0345154                      .2865176    .4218157
           1 |    .234375    .037442                      .1609901    .3077599
-------------+----------------------------------------------------------------
        diff |   .1197917   .0509236                      .0199832    .2196002
             |  under Ho:   .0525968     2.28   0.023
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   2.2775
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9886         Pr(|Z| > |z|) = 0.0228          Pr(Z > z) = 0.0114

. prtest BAbstained if SubjectType==2&ElectionType=="E2",by(NewPublic)

Two-sample test of proportions                     0: Number of obs =      128
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .421875   .0436514                      .3363199    .5074301
           1 |     .03125   .0217491                     -.0113774    .0738774
-------------+----------------------------------------------------------------
        diff |    .390625   .0487695                      .2950385    .4862115
             |  under Ho:   .0695854     5.61   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   5.6136
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 1.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 0.0000

. 
. *************************************************
. **                 Footnote 40                 **
. *************************************************
. prtest AAbstained if SubjectType==1&ElectionType=="E1"&Period<=16,by(NewPublic)

Two-sample test of proportions                     0: Number of obs =      240
                                                   1: Number of obs =      144
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .4375   .0320217                      .3747386    .5002614
           1 |   .2777778   .0373253                      .2046216     .350934
-------------+----------------------------------------------------------------
        diff |   .1597222   .0491789                      .0633333    .2561111
             |  under Ho:   .0511011     3.13   0.002
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   3.1256
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9991         Pr(|Z| > |z|) = 0.0018          Pr(Z > z) = 0.0009

. prtest BAbstained if SubjectType==2&ElectionType=="E1"&Period<=16,by(NewPublic)

Two-sample test of proportions                     0: Number of obs =      160
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .38125   .0383975                      .3059924    .4565076
           1 |   .1770833   .0389611                       .100721    .2534457
-------------+----------------------------------------------------------------
        diff |   .2041667   .0547022                      .0969523     .311381
             |  under Ho:   .0594212     3.44   0.001
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   3.4359
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9997         Pr(|Z| > |z|) = 0.0006          Pr(Z > z) = 0.0003

. 
. prtest AAbstained if SubjectType==1&ElectionType=="E1"&Period>16,by(NewPublic)

Two-sample test of proportions                     0: Number of obs =       48
                                                   1: Number of obs =       48
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .5625   .0716027                      .4221612    .7028388
           1 |        .75      .0625                      .6275023    .8724977
-------------+----------------------------------------------------------------
        diff |     -.1875   .0950432                     -.3737812   -.0012188
             |  under Ho:   .0969506    -1.93   0.053
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.9340
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0266         Pr(|Z| > |z|) = 0.0531          Pr(Z > z) = 0.9734

. prtest BAbstained if SubjectType==2&ElectionType=="E1"&Period>16,by(NewPublic)

Two-sample test of proportions                     0: Number of obs =       32
                                                   1: Number of obs =       32
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .21875   .0730792                      .0755173    .3619827
           1 |     .40625   .0868207                      .2360845    .5764155
-------------+----------------------------------------------------------------
        diff |     -.1875   .1134831                     -.4099228    .0349228
             |  under Ho:   .1158781    -1.62   0.106
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.6181
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0528         Pr(|Z| > |z|) = 0.1056          Pr(Z > z) = 0.9472

. 
. *************************************************
. **                 Footnote 41                 **
. *************************************************
. prtest AVoteB if SubjectType==1&ElectionType=="EC",by(NewPublic)

Two-sample test of proportions                     0: Number of obs =      240
                                                   1: Number of obs =      144
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0083333    .005868                     -.0031676    .0198343
           1 |   .0069444   .0069203                     -.0066191     .020508
-------------+----------------------------------------------------------------
        diff |   .0013889   .0090732                     -.0163943    .0191721
             |  under Ho:   .0092805     0.15   0.881
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.1497
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.5595         Pr(|Z| > |z|) = 0.8810          Pr(Z > z) = 0.4405

. prtest BVoteA if SubjectType==2&ElectionType=="EC",by(NewPublic)

Two-sample test of proportions                     0: Number of obs =      160
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .0125   .0087834                     -.0047152    .0297152
           1 |   .0729167   .0265361                      .0209069    .1249265
-------------+----------------------------------------------------------------
        diff |  -.0604167    .027952                     -.1152015   -.0056318
             |  under Ho:   .0237768    -2.54   0.011
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.5410
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0055         Pr(|Z| > |z|) = 0.0111          Pr(Z > z) = 0.9945

. 
. prtest AVoteB if SubjectType==1&ElectionType=="E2",by(NewPublic)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .1197917   .0234345                      .0738609    .1657224
           1 |       .375   .0494106                       .278157     .471843
-------------+----------------------------------------------------------------
        diff |  -.2552083   .0546862                     -.3623913   -.1480253
             |  under Ho:     .05045    -5.06   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -5.0586
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. 
. 
. *************************************************
. **                 Footnote 42                 **
. *************************************************
. ttest PAWins if ElectionType=="EC",by(NewPublic)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      40    .6824306    .0155121    .0981071    .6510544    .7138067
       1 |      24    .6716766    .0187275    .0917456    .6329358    .7104174
---------+--------------------------------------------------------------------
combined |      64    .6783978    .0118972    .0951779    .6546231    .7021726
---------+--------------------------------------------------------------------
    diff |             .010754    .0247345               -.0386897    .0601976
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.4348
Ho: diff = 0                                     degrees of freedom =       62

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6674         Pr(|T| > |t|) = 0.6652          Pr(T > t) = 0.3326

. ttest PAWins if ElectionType=="E1",by(NewPublic)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      48    .4946511    .0202856    .1405425    .4538419    .5354604
       1 |      32    .4023686    .0414817     .234656    .3177661    .4869711
---------+--------------------------------------------------------------------
combined |      80    .4577381    .0210441    .1882238    .4158509    .4996253
---------+--------------------------------------------------------------------
    diff |            .0922826    .0419487                .0087691    .1757961
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.1999
Ho: diff = 0                                     degrees of freedom =       78

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9846         Pr(|T| > |t|) = 0.0308          Pr(T > t) = 0.0154

. ttest PAWins if ElectionType=="E2",by(NewPublic)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      32    .5297247    .0244809    .1384848    .4797956    .5796538
       1 |      16    .2616567    .0239331    .0957325    .2106445     .312669
---------+--------------------------------------------------------------------
combined |      48    .4403687    .0257726    .1785581    .3885208    .4922166
---------+--------------------------------------------------------------------
    diff |             .268068    .0386242                .1903215    .3458144
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   6.9404
Ho: diff = 0                                     degrees of freedom =       46

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 0.0000

. 
. 
. *********************************************************************************
. **             Replication of statistical tests in B8                          **
. *********************************************************************************
. gen S3Public=0 if Sequence==3&PrivacyType=="S"
(2,760 missing values generated)

. replace S3Public=1 if Sequence==3&PrivacyType=="P"
(360 real changes made)

. prtest Abstain,by(S3Public)

Two-sample test of proportions                     0: Number of obs =      360
                                                   1: Number of obs =      360
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .4555556    .026248                      .4041104    .5070007
           1 |   .2138889   .0216115                      .1715311    .2562466
-------------+----------------------------------------------------------------
        diff |   .2416667   .0340002                      .1750275    .3083059
             |  under Ho:   .0351728     6.87   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   6.8708
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 1.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 0.0000

. 
. *************************************************
. **                 Footnote 43                 **
. *************************************************
. gen selfishnotpro=1 if Sequence==3&SubjectType==1&ElectionType!="EC"
(2,880 missing values generated)

. replace selfishnotpro=1 if Sequence==3&SubjectType==2&ElectionType=="EC"& NumberofAvoters==6
(32 real changes made)

. replace selfishnotpro=1 if Sequence==3&SubjectType==1&ElectionType=="EC"& NumberofAvoters==4
(32 real changes made)

. prtest OtherpartyVote if selfishnotpro==1,by(S3Public)

Two-sample test of proportions                     0: Number of obs =      152
                                                   1: Number of obs =      152
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0394737   .0157938                      .0085184     .070429
           1 |   .1513158   .0290665                      .0943464    .2082852
-------------+----------------------------------------------------------------
        diff |  -.1118421   .0330803                     -.1766784   -.0470059
             |  under Ho:   .0336965    -3.32   0.001
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -3.3191
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0005         Pr(|Z| > |z|) = 0.0009          Pr(Z > z) = 0.9995

. 
. *************************************************
. **                 Footnote 44                 **
. *************************************************
. gen AprsocialVote=0 if Sequence==3&SubjectType==1&ElectionType!="EC"
(2,880 missing values generated)

. replace AprsocialVote=1 if Sequence==3&SubjectType==1&SubjectChoice==2&ElectionType!="EC"
(20 real changes made)

. gen X4=1 if NumberofAvoters==4&Sequence==3&SubjectType==1&ElectionType!="EC"
(3,055 missing values generated)

. replace X4=0 if NumberofAvoters!=4&Sequence==3&SubjectType==1&ElectionType!="EC"
(175 real changes made)

. prtest AprsocialVote if Sequence==3&SubjectType==1,by(X4)

Two-sample test of proportions                     0: Number of obs =      175
                                                   1: Number of obs =       65
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0514286   .0166962                      .0187046    .0841526
           1 |   .1692308   .0465075                      .0780777    .2603838
-------------+----------------------------------------------------------------
        diff |  -.1178022   .0494137                     -.2146513   -.0209531
             |  under Ho:   .0401463    -2.93   0.003
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.9343
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0017         Pr(|Z| > |z|) = 0.0033          Pr(Z > z) = 0.9983

. 
. *************************************************
. **                 Footnote 45                 **
. *************************************************
. prtest AprsocialVote if Sequence==3&SubjectType==1&S3Public==0,by(X4)

Two-sample test of proportions                     0: Number of obs =       87
                                                   1: Number of obs =       33
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |          0          0                             0           0
           1 |   .0909091   .0500438                      -.007175    .1889932
-------------+----------------------------------------------------------------
        diff |  -.0909091   .0500438                     -.1889932     .007175
             |  under Ho:   .0319188    -2.85   0.004
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.8481
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0022         Pr(|Z| > |z|) = 0.0044          Pr(Z > z) = 0.9978

. prtest AprsocialVote if Sequence==3&SubjectType==1&S3Public==1,by(X4)

Two-sample test of proportions                     0: Number of obs =       88
                                                   1: Number of obs =       32
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .1022727   .0323006                      .0389647    .1655808
           1 |        .25   .0765466                      .0999715    .4000285
-------------+----------------------------------------------------------------
        diff |  -.1477273   .0830825                      -.310566    .0151115
             |  under Ho:    .071984    -2.05   0.040
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.0522
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0201         Pr(|Z| > |z|) = 0.0401          Pr(Z > z) = 0.9799

.   
. *************************************************
. **                 Footnote 46                 **
. *************************************************
. gen BMinority=1 if Sequence==3&SubjectType==2&ElectionType!="EC"& NumberofBvoters==4
(3,055 missing values generated)

. replace BMinority=0 if Sequence==3&SubjectType==2&ElectionType!="EC"& NumberofBvoters!=4
(175 real changes made)

. prtest OtherpartyVote, by(BMinority)  

Two-sample test of proportions                     0: Number of obs =      175
                                                   1: Number of obs =       65
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0171429   .0098122                     -.0020888    .0363745
           1 |   .0461538   .0260247                     -.0048537    .0971614
-------------+----------------------------------------------------------------
        diff |   -.029011   .0278131                     -.0835236    .0255016
             |  under Ho:   .0226779    -1.28   0.201
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.2793
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.1004         Pr(|Z| > |z|) = 0.2008          Pr(Z > z) = 0.8996

. 
. *************************************************
. **                 Footnote 47                 **
. *************************************************
. prtest OtherpartyVote if PrivacyType=="P",by(BMinority)

Two-sample test of proportions                     0: Number of obs =       88
                                                   1: Number of obs =       32
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0113636   .0112989                     -.0107818     .033509
           1 |     .09375    .051527                      -.007241     .194741
-------------+----------------------------------------------------------------
        diff |  -.0823864   .0527512                     -.1857769    .0210042
             |  under Ho:   .0370554    -2.22   0.026
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.2233
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0131         Pr(|Z| > |z|) = 0.0262          Pr(Z > z) = 0.9869

. 
. *************************************************
. **                 Footnote 48                 **
. *************************************************
. prtest OtherpartyVote if PrivacyType=="S",by(BMinority)

Two-sample test of proportions                     0: Number of obs =       87
                                                   1: Number of obs =       33
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0229885   .0160674                      -.008503      .05448
           1 |          0          0                             0           0
-------------+----------------------------------------------------------------
        diff |   .0229885   .0160674                      -.008503      .05448
             |  under Ho:   .0261727     0.88   0.380
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.8783
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.8101         Pr(|Z| > |z|) = 0.3798          Pr(Z > z) = 0.1899

. 
. *********************************************************************************
. **             Replication of statistical tests in B9                          **
. *********************************************************************************
. 
. gen SEvP=1 if Sequence==1&PrivacyType=="SE"
(2,640 missing values generated)

. replace SEvP=0 if Sequence==1&PrivacyType=="P"
(480 real changes made)

. gen SEvS=1 if Sequence==1&PrivacyType=="SE"
(2,640 missing values generated)

. replace SEvS=0 if Sequence==1&PrivacyType=="S"
(480 real changes made)

. 
. 
. prtest OtherpartyVote,by(SEvS)

Two-sample test of proportions                     0: Number of obs =      480
                                                   1: Number of obs =      480
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .0375   .0086715                      .0205041    .0544959
           1 |   .0333333   .0081933                      .0172748    .0493918
-------------+----------------------------------------------------------------
        diff |   .0041667     .01193                     -.0192157     .027549
             |  under Ho:   .0119308     0.35   0.727
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.3492
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.6365         Pr(|Z| > |z|) = 0.7269          Pr(Z > z) = 0.3635

. prtest OtherpartyVote,by(SEvP)

Two-sample test of proportions                     0: Number of obs =      480
                                                   1: Number of obs =      480
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .10625   .0140654                      .0786823    .1338177
           1 |   .0333333   .0081933                      .0172748    .0493918
-------------+----------------------------------------------------------------
        diff |   .0729167   .0162777                      .0410129    .1048205
             |  under Ho:    .016447     4.43   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   4.4334
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 1.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 0.0000

. 
. prtest AVoteB if SubjectType==1,by(SEvS)

Two-sample test of proportions                     0: Number of obs =      288
                                                   1: Number of obs =      288
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0555556   .0134976                      .0291008    .0820103
           1 |   .0416667   .0117749                      .0185883     .064745
-------------+----------------------------------------------------------------
        diff |   .0138889   .0179118                     -.0212176    .0489954
             |  under Ho:   .0179211     0.78   0.438
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.7750
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.7808         Pr(|Z| > |z|) = 0.4383          Pr(Z > z) = 0.2192

. prtest BVoteA if SubjectType==2,by(SEvS)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =      192
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0104167   .0073272                     -.0039444    .0247778
           1 |   .0208333   .0103076                      .0006308    .0410358
-------------+----------------------------------------------------------------
        diff |  -.0104167   .0126465                     -.0352034    .0143701
             |  under Ho:   .0126577    -0.82   0.411
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -0.8230
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.2053         Pr(|Z| > |z|) = 0.4105          Pr(Z > z) = 0.7947

. prtest AVoteB if SubjectType==1,by(SEvP)

Two-sample test of proportions                     0: Number of obs =      288
                                                   1: Number of obs =      288
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .1458333   .0207971                      .1050717     .186595
           1 |   .0416667   .0117749                      .0185883     .064745
-------------+----------------------------------------------------------------
        diff |   .1041667   .0238991                      .0573252    .1510081
             |  under Ho:     .02429     4.29   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   4.2885
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 1.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 0.0000

. prtest BVoteA if SubjectType==2,by(SEvP)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =      192
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .046875   .0152544                      .0169769    .0767731
           1 |   .0208333   .0103076                      .0006308    .0410358
-------------+----------------------------------------------------------------
        diff |   .0260417   .0184104                     -.0100421    .0621254
             |  under Ho:   .0184583     1.41   0.158
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   1.4108
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9209         Pr(|Z| > |z|) = 0.1583          Pr(Z > z) = 0.0791

. 
. 
. prtest BVoteA if SubjectType==2&ElectionType=="EC",by(SEvS)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .015625   .0155024                     -.0147592    .0460092
           1 |    .015625   .0155024                     -.0147592    .0460092
-------------+----------------------------------------------------------------
        diff |          0   .0219238                     -.0429698    .0429698
             |  under Ho:   .0219238     0.00   1.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.0000
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.5000         Pr(|Z| > |z|) = 1.0000          Pr(Z > z) = 0.5000

. 
. prtest BVoteA if SubjectType==2&ElectionType=="EC",by(SEvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .109375   .0390136                      .0329097    .1858403
           1 |    .015625   .0155024                     -.0147592    .0460092
-------------+----------------------------------------------------------------
        diff |     .09375   .0419808                      .0114691    .1760309
             |  under Ho:   .0427908     2.19   0.028
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   2.1909
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9858         Pr(|Z| > |z|) = 0.0285          Pr(Z > z) = 0.0142

. 
. 
. *************************************************
. **                 Footnote 49                 **
. *************************************************
. 
. 
. 
. prtest AVoteB if SubjectType==1&ElectionType=="E2",by(SEvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |       .375   .0494106                       .278157     .471843
           1 |   .0104167   .0103623                      -.009893    .0307263
-------------+----------------------------------------------------------------
        diff |   .3645833   .0504855                      .2656336     .463533
             |  under Ho:   .0569305     6.40   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   6.4040
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 1.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 0.0000

. 
. *************************************************
. **                 Footnote 50                 **
. *************************************************
. prtest AVoteB if SubjectType==1&ElectionType=="E1",by(SEvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .0625   .0247053                      .0140785    .1109215
           1 |   .1145833   .0325087                      .0508675    .1782991
-------------+----------------------------------------------------------------
        diff |  -.0520833   .0408309                     -.1321105    .0279438
             |  under Ho:   .0410036    -1.27   0.204
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.2702
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.1020         Pr(|Z| > |z|) = 0.2040          Pr(Z > z) = 0.8980

. 
. prtest BVoteA if SubjectType==2,by(SEvS)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =      192
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0104167   .0073272                     -.0039444    .0247778
           1 |   .0208333   .0103076                      .0006308    .0410358
-------------+----------------------------------------------------------------
        diff |  -.0104167   .0126465                     -.0352034    .0143701
             |  under Ho:   .0126577    -0.82   0.411
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -0.8230
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.2053         Pr(|Z| > |z|) = 0.4105          Pr(Z > z) = 0.7947

. prtest BVoteA if SubjectType==2,by(SEvP)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =      192
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .046875   .0152544                      .0169769    .0767731
           1 |   .0208333   .0103076                      .0006308    .0410358
-------------+----------------------------------------------------------------
        diff |   .0260417   .0184104                     -.0100421    .0621254
             |  under Ho:   .0184583     1.41   0.158
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   1.4108
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9209         Pr(|Z| > |z|) = 0.1583          Pr(Z > z) = 0.0791

. 
. 
. 
. 
. *************************************************
. **                 Footnote 51                 **
. *************************************************
. prtest AAbstained if SubjectType==1,by(SEvS)

Two-sample test of proportions                     0: Number of obs =      288
                                                   1: Number of obs =      288
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .3229167   .0275531                      .2689136    .3769197
           1 |   .4722222   .0294173                      .4145654     .529879
-------------+----------------------------------------------------------------
        diff |  -.1493056   .0403057                     -.2283032   -.0703079
             |  under Ho:    .040783    -3.66   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -3.6610
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0001         Pr(|Z| > |z|) = 0.0003          Pr(Z > z) = 0.9999

. prtest BAbstained if SubjectType==2,by(SEvS)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =      192
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .34375   .0342772                      .2765679    .4109321
           1 |    .234375   .0305712                      .1744565    .2942935
-------------+----------------------------------------------------------------
        diff |    .109375   .0459296                      .0193547    .1993953
             |  under Ho:   .0462675     2.36   0.018
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   2.3640
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9910         Pr(|Z| > |z|) = 0.0181          Pr(Z > z) = 0.0090

. 
. *************************************************
. **                 Footnote 52                 **
. *************************************************
. prtest AAbstained if SubjectType==1&ElectionType=="EC",by(SEvS)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .1770833   .0389611                       .100721    .2534457
           1 |   .3020833   .0468629                      .2102337     .393933
-------------+----------------------------------------------------------------
        diff |      -.125   .0609434                     -.2444469   -.0055531
             |  under Ho:   .0616075    -2.03   0.042
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.0290
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0212         Pr(|Z| > |z|) = 0.0425          Pr(Z > z) = 0.9788

. prtest AAbstained if SubjectType==1&ElectionType=="E1",by(SEvS)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .4583333   .0508535                      .3586622    .5580044
           1 |   .5104167     .05102                      .4104194     .610414
-------------+----------------------------------------------------------------
        diff |  -.0520833   .0720355                     -.1932704    .0891037
             |  under Ho:   .0721335    -0.72   0.470
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -0.7220
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.2351         Pr(|Z| > |z|) = 0.4703          Pr(Z > z) = 0.7649

. prtest AAbstained if SubjectType==1&ElectionType=="E2",by(SEvS)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .3333333   .0481125                      .2390345    .4276321
           1 |   .6041667   .0499113                      .5063423     .701991
-------------+----------------------------------------------------------------
        diff |  -.2708333    .069325                     -.4067078   -.1349589
             |  under Ho:   .0720277    -3.76   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -3.7601
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0001         Pr(|Z| > |z|) = 0.0002          Pr(Z > z) = 0.9999

. *************************************************
. **                 Footnote 53                 **
. *************************************************
. prtest BAbstained if SubjectType==2&ElectionType=="EC",by(SEvS)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .40625   .0613915                      .2859248    .5265752
           1 |     .21875   .0516748                      .1174692    .3200308
-------------+----------------------------------------------------------------
        diff |      .1875   .0802447                      .0302233    .3447767
             |  under Ho:   .0819382     2.29   0.022
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   2.2883
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.9889         Pr(|Z| > |z|) = 0.0221          Pr(Z > z) = 0.0111

. prtest BAbstained if SubjectType==2&ElectionType=="E1",by(SEvS)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .3125   .0579391                      .1989415    .4260585
           1 |    .265625   .0552082                       .157419     .373831
-------------+----------------------------------------------------------------
        diff |    .046875   .0800305                     -.1099818    .2037318
             |  under Ho:   .0801376     0.58   0.559
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.5849
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.7207         Pr(|Z| > |z|) = 0.5586          Pr(Z > z) = 0.2793

. prtest BAbstained if SubjectType==2&ElectionType=="E2",by(SEvS)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |      .3125   .0579391                      .1989415    .4260585
           1 |     .21875   .0516748                      .1174692    .3200308
-------------+----------------------------------------------------------------
        diff |     .09375   .0776352                     -.0584122    .2459122
             |  under Ho:   .0780762     1.20   0.230
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   1.2008
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.8851         Pr(|Z| > |z|) = 0.2298          Pr(Z > z) = 0.1149

. *************************************************
. **                 Footnote 54                 **
. *************************************************
. prtest BAbstained if SubjectType==2,by(SEvP)

Two-sample test of proportions                     0: Number of obs =      192
                                                   1: Number of obs =      192
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .1458333   .0254712                      .0959107    .1957559
           1 |    .234375   .0305712                      .1744565    .2942935
-------------+----------------------------------------------------------------
        diff |  -.0885417   .0397917                      -.166532   -.0105513
             |  under Ho:   .0400474    -2.21   0.027
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.2109
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0135         Pr(|Z| > |z|) = 0.0270          Pr(Z > z) = 0.9865

. prtest BAbstained if SubjectType==2&ElectionType=="EC",by(SEvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .265625   .0552082                       .157419     .373831
           1 |     .21875   .0516748                      .1174692    .3200308
-------------+----------------------------------------------------------------
        diff |    .046875    .075619                     -.1013355    .1950855
             |  under Ho:   .0757324     0.62   0.536
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =   0.6190
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.7320         Pr(|Z| > |z|) = 0.5359          Pr(Z > z) = 0.2680

. prtest BAbstained if SubjectType==2&ElectionType=="E1",by(SEvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |    .140625   .0434543                      .0554562    .2257938
           1 |    .265625   .0552082                       .157419     .373831
-------------+----------------------------------------------------------------
        diff |      -.125   .0702582                     -.2627036    .0127036
             |  under Ho:   .0711216    -1.76   0.079
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.7576
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0394         Pr(|Z| > |z|) = 0.0788          Pr(Z > z) = 0.9606

. prtest BAbstained if SubjectType==2&ElectionType=="E2",by(SEvP)

Two-sample test of proportions                     0: Number of obs =       64
                                                   1: Number of obs =       64
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |     .03125   .0217491                     -.0113774    .0738774
           1 |     .21875   .0516748                      .1174692    .3200308
-------------+----------------------------------------------------------------
        diff |     -.1875   .0560652                     -.2973858   -.0776142
             |  under Ho:   .0584634    -3.21   0.001
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -3.2071
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0007         Pr(|Z| > |z|) = 0.0013          Pr(Z > z) = 0.9993

. 
. prtest AAbstained if SubjectType==1,by(SEvP)

Two-sample test of proportions                     0: Number of obs =      288
                                                   1: Number of obs =      288
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .2048611   .0237824                      .1582485    .2514737
           1 |   .4722222   .0294173                      .4145654     .529879
-------------+----------------------------------------------------------------
        diff |  -.2673611   .0378283                     -.3415031   -.1932191
             |  under Ho:   .0394345    -6.78   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -6.7799
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. prtest AAbstained if SubjectType==1&ElectionType=="EC",by(SEvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .0729167   .0265361                      .0209069    .1249265
           1 |   .3020833   .0468629                      .2102337     .393933
-------------+----------------------------------------------------------------
        diff |  -.2291667   .0538544                     -.3347194   -.1236139
             |  under Ho:   .0563367    -4.07   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -4.0678
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. prtest AAbstained if SubjectType==1&ElectionType=="E1",by(SEvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .2708333   .0453554                      .1819384    .3597283
           1 |   .5104167     .05102                      .4104194     .610414
-------------+----------------------------------------------------------------
        diff |  -.2395833   .0682653                     -.3733808   -.1057859
             |  under Ho:   .0704209    -3.40   0.001
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -3.4022
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0003         Pr(|Z| > |z|) = 0.0007          Pr(Z > z) = 0.9997

. prtest AAbstained if SubjectType==1&ElectionType=="E2",by(SEvP)

Two-sample test of proportions                     0: Number of obs =       96
                                                   1: Number of obs =       96
------------------------------------------------------------------------------
       Group |       Mean   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
           0 |   .2708333   .0453554                      .1819384    .3597283
           1 |   .6041667   .0499113                      .5063423     .701991
-------------+----------------------------------------------------------------
        diff |  -.3333333   .0674407                     -.4655147    -.201152
             |  under Ho:   .0716027    -4.66   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -4.6553
    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. 
. ttest PAWins if ElectionType=="EC",by(SEvP)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      16    .7113839    .0207299    .0829196    .6671992    .7555687
       1 |      16    .5792411     .023991    .0959641    .5281054    .6303768
---------+--------------------------------------------------------------------
combined |      32    .6453125    .0195969    .1108567    .6053444    .6852806
---------+--------------------------------------------------------------------
    diff |            .1321428    .0317064                .0673897     .196896
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   4.1677
Ho: diff = 0                                     degrees of freedom =       30

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9999         Pr(|T| > |t|) = 0.0002          Pr(T > t) = 0.0001

. ttest PAWins if ElectionType=="E2",by(SEvP)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      16    .2616567    .0239331    .0957325    .2106445     .312669
       1 |      16    .4199405    .0220981    .0883924    .3728395    .4670414
---------+--------------------------------------------------------------------
combined |      32    .3407986    .0214189    .1211635    .2971145    .3844827
---------+--------------------------------------------------------------------
    diff |           -.1582837    .0325748               -.2248104    -.091757
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -4.8591
Ho: diff = 0                                     degrees of freedom =       30

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 1.0000

. ttest PAWins if ElectionType=="E1",by(SEvP)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       0 |      16     .530754    .0324138     .129655    .4616657    .5998423
       1 |      16    .3780506    .0503018    .2012071    .2708349    .4852663
---------+--------------------------------------------------------------------
combined |      32    .4544023    .0324716    .1836869    .3881761    .5206285
---------+--------------------------------------------------------------------
    diff |            .1527034    .0598408                .0304922    .2749146
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.5518
Ho: diff = 0                                     degrees of freedom =       30

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9920         Pr(|T| > |t|) = 0.0161          Pr(T > t) = 0.0080

. *********************************************************************************
. **             Replication of statistical tests in B10                         **
. **       Note: The data of TableB5 is derived from Experiment2.dta             **     
. *********************************************************************************
. *to get the data for Figure 3: Percent Voting for Public Voting Versus Relative Success of A
. clear 

. use Experiment2.dta, clear

. 
. *In Experiment II subjects voted for Secret Ballots or Public Voting in some periods
. *First we identify these periods
. gen Statistics=1

. replace Statistics=0 if Treatment=="Short"&Period==11
(20 real changes made)

. replace Statistics=0 if Treatment=="Short"&Period==17
(20 real changes made)

. replace Statistics=0 if Treatment=="Long"&Period==21
(40 real changes made)

. 
. tabulate WinnerofElection PrivacyType if Treatment=="Short"&Session==1&Period<11&Statistics==1,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

 Winner of |     Privacy Type
  Election |    Public     Secret |     Total
-----------+----------------------+----------
         1 |        30         30 |        60 
           |     60.00      60.00 |     60.00 
-----------+----------------------+----------
         2 |        20         20 |        40 
           |     40.00      40.00 |     40.00 
-----------+----------------------+----------
     Total |        50         50 |       100 
           |    100.00     100.00 |    100.00 


. tabulate WinnerofElection PrivacyType if Treatment=="Short"&Session==1&Period<17&Statistics==1,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

 Winner of |     Privacy Type
  Election |    Public     Secret |     Total
-----------+----------------------+----------
         1 |        30         50 |        80 
           |     60.00      50.00 |     53.33 
-----------+----------------------+----------
         2 |        20         50 |        70 
           |     40.00      50.00 |     46.67 
-----------+----------------------+----------
     Total |        50        100 |       150 
           |    100.00     100.00 |    100.00 


. tabulate WinnerofElection PrivacyType if Treatment=="Short"&Session==2&Period<11&Statistics==1,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

 Winner of |     Privacy Type
  Election |    Public     Secret |     Total
-----------+----------------------+----------
         1 |        10         30 |        40 
           |     20.00      60.00 |     40.00 
-----------+----------------------+----------
         2 |        40         20 |        60 
           |     80.00      40.00 |     60.00 
-----------+----------------------+----------
     Total |        50         50 |       100 
           |    100.00     100.00 |    100.00 


. tabulate WinnerofElection PrivacyType if Treatment=="Short"&Session==2&Period<17&Statistics==1,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

 Winner of |     Privacy Type
  Election |    Public     Secret |     Total
-----------+----------------------+----------
         1 |        10         40 |        50 
           |     20.00      40.00 |     33.33 
-----------+----------------------+----------
         2 |        40         60 |       100 
           |     80.00      60.00 |     66.67 
-----------+----------------------+----------
     Total |        50        100 |       150 
           |    100.00     100.00 |    100.00 


. tabulate WinnerofElection PrivacyType if Treatment=="Long"&Session==1&Period<21&Statistics==1,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

 Winner of |     Privacy Type
  Election |    Public     Secret |     Total
-----------+----------------------+----------
         1 |        20          0 |        20 
           |     20.00       0.00 |     10.00 
-----------+----------------------+----------
         2 |        80        100 |       180 
           |     80.00     100.00 |     90.00 
-----------+----------------------+----------
     Total |       100        100 |       200 
           |    100.00     100.00 |    100.00 


. tabulate WinnerofElection PrivacyType if Treatment=="Long"&Session==2&Period<21&Statistics==1,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

 Winner of |     Privacy Type
  Election |    Public     Secret |     Total
-----------+----------------------+----------
         1 |        20         40 |        60 
           |     20.00      40.00 |     30.00 
-----------+----------------------+----------
         2 |        80         60 |       140 
           |     80.00      60.00 |     70.00 
-----------+----------------------+----------
     Total |       100        100 |       200 
           |    100.00     100.00 |    100.00 


. tabulate WinnerofElection PrivacyType if Treatment=="Long"&Session==3&Period<21&Statistics==1,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

 Winner of |     Privacy Type
  Election |    Public     Secret |     Total
-----------+----------------------+----------
         1 |        20         40 |        60 
           |     20.00      40.00 |     30.00 
-----------+----------------------+----------
         2 |        80         60 |       140 
           |     80.00      60.00 |     70.00 
-----------+----------------------+----------
     Total |       100        100 |       200 
           |    100.00     100.00 |    100.00 


. tabulate WinnerofElection PrivacyType if Treatment=="Long"&Session==4&Period<21&Statistics==1,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

 Winner of |     Privacy Type
  Election |    Public     Secret |     Total
-----------+----------------------+----------
         1 |        60         60 |       120 
           |     60.00      60.00 |     60.00 
-----------+----------------------+----------
         2 |        40         40 |        80 
           |     40.00      40.00 |     40.00 
-----------+----------------------+----------
     Total |       100        100 |       200 
           |    100.00     100.00 |    100.00 


. 
. tabulate SubjectChoice SubjectType if Treatment=="Short"&Session==1&Period==11&Statistics==0,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

   Subject |     Subject Type 
    Choice |         1          2 |     Total
-----------+----------------------+----------
         P |         3          1 |         4 
           |     50.00      25.00 |     40.00 
-----------+----------------------+----------
         S |         3          3 |         6 
           |     50.00      75.00 |     60.00 
-----------+----------------------+----------
     Total |         6          4 |        10 
           |    100.00     100.00 |    100.00 


. tabulate SubjectChoice SubjectType if Treatment=="Short"&Session==1&Period==17&Statistics==0,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

   Subject |     Subject Type 
    Choice |         1          2 |     Total
-----------+----------------------+----------
         P |         4          0 |         4 
           |     66.67       0.00 |     40.00 
-----------+----------------------+----------
         S |         2          4 |         6 
           |     33.33     100.00 |     60.00 
-----------+----------------------+----------
     Total |         6          4 |        10 
           |    100.00     100.00 |    100.00 


. tabulate SubjectChoice SubjectType if Treatment=="Short"&Session==2&Period==11&Statistics==0,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

   Subject |     Subject Type 
    Choice |         1          2 |     Total
-----------+----------------------+----------
         P |         0          3 |         3 
           |      0.00      75.00 |     30.00 
-----------+----------------------+----------
         S |         6          1 |         7 
           |    100.00      25.00 |     70.00 
-----------+----------------------+----------
     Total |         6          4 |        10 
           |    100.00     100.00 |    100.00 


. tabulate SubjectChoice SubjectType if Treatment=="Short"&Session==2&Period==17&Statistics==0,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

   Subject |     Subject Type 
    Choice |         1          2 |     Total
-----------+----------------------+----------
         P |         0          3 |         3 
           |      0.00      75.00 |     30.00 
-----------+----------------------+----------
         S |         6          1 |         7 
           |    100.00      25.00 |     70.00 
-----------+----------------------+----------
     Total |         6          4 |        10 
           |    100.00     100.00 |    100.00 


. tabulate SubjectChoice SubjectType if Treatment=="Long"&Session==1&Period==21&Statistics==0,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

   Subject |     Subject Type 
    Choice |         1          2 |     Total
-----------+----------------------+----------
   Abstain |         2          0 |         2 
           |     33.33       0.00 |     20.00 
-----------+----------------------+----------
         P |         3          2 |         5 
           |     50.00      50.00 |     50.00 
-----------+----------------------+----------
         S |         1          2 |         3 
           |     16.67      50.00 |     30.00 
-----------+----------------------+----------
     Total |         6          4 |        10 
           |    100.00     100.00 |    100.00 


. tabulate SubjectChoice SubjectType if Treatment=="Long"&Session==2&Period==21&Statistics==0,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

   Subject |     Subject Type 
    Choice |         1          2 |     Total
-----------+----------------------+----------
         P |         1          3 |         4 
           |     16.67      75.00 |     40.00 
-----------+----------------------+----------
         S |         5          1 |         6 
           |     83.33      25.00 |     60.00 
-----------+----------------------+----------
     Total |         6          4 |        10 
           |    100.00     100.00 |    100.00 


. tabulate SubjectChoice SubjectType if Treatment=="Long"&Session==3&Period==21&Statistics==0,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

   Subject |     Subject Type 
    Choice |         1          2 |     Total
-----------+----------------------+----------
         P |         3          4 |         7 
           |     50.00     100.00 |     70.00 
-----------+----------------------+----------
         S |         3          0 |         3 
           |     50.00       0.00 |     30.00 
-----------+----------------------+----------
     Total |         6          4 |        10 
           |    100.00     100.00 |    100.00 


. tabulate SubjectChoice SubjectType if Treatment=="Long"&Session==4&Period==21&Statistics==0,col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

   Subject |     Subject Type 
    Choice |         1          2 |     Total
-----------+----------------------+----------
   Abstain |         1          0 |         1 
           |     16.67       0.00 |     10.00 
-----------+----------------------+----------
         P |         2          2 |         4 
           |     33.33      50.00 |     40.00 
-----------+----------------------+----------
         S |         3          2 |         5 
           |     50.00      50.00 |     50.00 
-----------+----------------------+----------
     Total |         6          4 |        10 
           |    100.00     100.00 |    100.00 


. *Table B5
. *Probits of Voting for Secret Ballots
. *Open data of TableB5 of Voting for Secret Ballots
. clear

. use TableB5.dta, clear

. gen VoteS=0

. replace VoteS=1 if SubjectChoice=="S"
(43 real changes made)

. dprobit2 VoteS Difference if SubjectType==1, vce(robust)

Marginal effects from probit                         Number of obs   =      48
                                                     chi2(1)         =   14.05
                                                     Prob > chi2     =  0.0002
Log Likelihood =  -24.66882                          Pseudo R2       =  0.2344

------------------------------------------------------------------------------
       VoteS |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  Difference |   1.699997   .4535597     3.75   0.000     .8110367    2.588958
       _cons |  -.0141956   .0835113    -0.17   0.865    -.1778748    .1494836
------------------------------------------------------------------------------
Marginal effects evaluated at

   Difference       _cons
x       .0875           1

. dprobit2 VoteS Difference if SubjectType==2, vce(robust)

Marginal effects from probit                         Number of obs   =      32
                                                     chi2(1)         =    4.20
                                                     Prob > chi2     =  0.0404
Log Likelihood = -18.961173                          Pseudo R2       =  0.1354

------------------------------------------------------------------------------
       VoteS |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  Difference |  -1.222484   .5964152    -2.05   0.040    -2.391436   -.0535317
       _cons |   .0343344   .1050372     0.33   0.744    -.1715346    .2402035
------------------------------------------------------------------------------
Marginal effects evaluated at

   Difference       _cons
x       .0875           1

. 
end of do-file

